//进行API统一管理
import requests from './request';

//热门政策
export function hotPolicy(params) {
    return requests({
        url: 'shm/dsahboard/api/v1/hot-policy/list',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//产业链分布
export function industrylinks() {
    return requests({
        url: 'shm/dsahboard/api/v1/distributed/industry-links',
        method: 'get',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//产业分布
export function industrypark(params) {
    return requests({
        url: 'shm/dsahboard/api/v1/distributed/park-industry',
        method: 'get',
        params:params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//园区产业链名名单
export function chains(params) {
    return requests({
        url: 'shm/dsahboard/api/v1/park/industry-chains',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}
//产业链全景图
export function chainmap(params) {
    return requests({
        url: 'shm/dsahboard/api/v1/park/industry-chain-map',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//项目跟踪矩阵
export function intentionproject() {
    return requests({
        url: '/shm/dsahboard/api/v1/intention-project/list',
        method: 'get',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//意向项目情况
export function histogram() {
    return requests({
        url: '/shm/dsahboard/api/v1/intention-project/histogram',
        method: 'get',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}
//意向项目同比
export function statistical() {
    return requests({
        url: '/shm/dsahboard/api/v1/intention-project/statistical',
        method: 'get',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//产业链详情列表
export function linksdetail(params) {
    return requests({
        url: '/shm/dsahboard/api/v1/industry-links/detail/list',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

//税收列表
export function annualincome(params) {
    return requests({
        url: '/shm/dsahboard/api/v1/company/annual-income/top',
        method: 'get',
        params: params,
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
        },
    })
}

